﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>我的优惠券</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta charset="utf-8">
        <link href="../coupon/css/font-awesome.min.css" rel="stylesheet">
        <meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=no">
        <meta name="format-detection" content="telephone=no" />
        <script language="javascript" src="../coupon/js/require.js"></script>
        <script language="javascript" src="../coupon/js/app/config.js?v=3"></script>
        <script language="javascript" src="../coupon/js/dist/jquery-1.11.1.min.js"></script>
        <script language="javascript" src="../coupon/js/dist/jquery.gcjs.js"></script>
        <link rel="stylesheet" type="text/css" href="../coupon/css/style.css" />
    <style type="text/css">
    body {margin:0px; background:#eee; font-family:'微软雅黑'; -moz-appearance:none;overflow-x: hidden; }
    a {text-decoration:none;}

    .tab {height:30px; font-size:13px;background:#fff;padding-right: -2px;}
    .nav {height:30px;border-bottom:2px solid #fff;  width:33.3%;  background:#fff; color:#666; text-align:center; line-height:30px; float:left;}
    .navon { border-bottom:2px solid #ff6801;  }
    .no {height:100px; margin:50px 0px 60px; color:#ccc; font-size:12px; text-align:center;}
    #coupon_loading { padding:10px;color:#666;text-align: center;}
   .coupon_no {height:100px;  margin:50px 0px 60px; color:#ccc; font-size:12px; text-align:center;}
   .coupon_menu {height:60px; width:100%; }
   .coupon_no_nav {height:38px; background:#eee; margin:0px 3%; border:1px solid #d4d4d4; border-radius:5px; text-align:center; line-height:38px; color:#666;}
   .coupon_more { height:40px; line-height:40px; font-size:14px;color:#232323; margin:10px; border-radius: 5px; background-repeat:no-repeat; border:1px solid #232323; text-align: center; }
</style>
</head>

<body>
    <div class="page_topbar">
	    <a href="javascript:;" class="back" onclick="history.back()"><i class="fa fa-angle-left"></i></a>
	    <div class="title">我的优惠券</div>
    </div>
    <div class="tab">
    <div class="nav {if $used==0 && $past!=1}navon{/if}" onclick="location.href='{php echo $this->createPluginMobileUrl('coupon/my')}'">未使用</div>
    <div class="nav {if $used==1 && $past!=1}navon{/if}"  onclick="location.href='{php echo $this->createPluginMobileUrl('coupon/my',array('used'=>1))}'">已使用</div>
    <div class="nav {if $past==1}navon{/if}"  onclick="location.href='{php echo $this->createPluginMobileUrl('coupon/my',array('past'=>1))}'">已过期</div>
</div>
</body>
</html>
